home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 43 / Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso / -serious- / programming / c / mmulib / developer / mmu_lib.fd
Text File  |  1999-06-14  |  2KB  |  62 lines

  1. *-----------------------------------------------------------------
  2. *-- MMU.library                                                 --
  3. *-- © 1998,1999 the mmu.library development group, THOR-Software--
  4. *--                                                             --
  5. *-- Library header file Version 0.26                            --
  6. *--                                                             --
  7. *-- created 18 Oct 1998 THOR,   Thomas Richter                  --
  8. *--     Modifications:                                          --
  9. *--                                                             --
  10. *-- 0.20 :  03 Feb 1999 THOR,   Thomas Richter                  --
  11. *-- 0.26 :  27 Mar 1999 THOR,     Thomas Richter            --
  12. *-----------------------------------------------------------------
  13. ##base _MMUBase
  14. ##bias 30
  15. ##public
  16. AllocAligned(bytesize,reqments,alignment)(d0,d1,a0)
  17. GetMapping(ctx)(a0)
  18. ReleaseMapping(ctx,list)(a0,a1)
  19. GetPageSize(ctx)(a0)
  20. GetMMUType()()
  21. ##private
  22. GetMMUConfig()()
  23. ReleaseMMUConfig(mfc)(a1)
  24. ##public
  25. LockMMUContext(ctx)(a0)
  26. UnlockMMUContext(ctx)(a0)
  27. SetPropertiesA(ctx,flags,mask,lower,size,tags)(a0,d1,d2,a1,d0,a2)
  28. GetPropertiesA(ctx,lower,tags)(a0,a1,a2)
  29. RebuildTree(ctx)(a0)
  30. SetPagePropertiesA(ctx,flags,mask,lower,tags)(a0,d1,d2,a1,a2)
  31. GetPagePropertiesA(ctx,lower,tags)(a0,a1,a2)
  32. CreateMMUContextA(tags)(a0)
  33. DeleteMMUContext(ctx)(a0)
  34. ##private
  35. AllocLineMem(bytesize,reqments)(d0,d1)
  36. ##public
  37. AllocLineVec(bytesize,reqments)(d0,d1)
  38. PhysicalPageLocation(ctx,addr)(a0,a1)
  39. SuperContext(ctx)(a0)
  40. DefaultContext()()
  41. EnterMMUContext(ctx,task)(a0,a1)
  42. LeaveMMUContext(task)(a1)
  43. AddContextHookA(tags)(a0)
  44. RemContextHook(hook)(a1)
  45. AddMessageHookA(tags)(a0)
  46. RemMessageHook(hook)(a1)
  47. ActivateException(hook)(a1)
  48. DeactivateException(hook)(a1)
  49. AttemptLockMMUContext(ctx)(a0)
  50. LockContextList()()
  51. UnlockContextList()()
  52. AttemptLockContextList()()
  53. SetPropertyList(ctx,list)(a0,a1)
  54. TouchPropertyList(list)(a1)
  55. CurrentContext(task)(a1)
  56. DMAInitiate(ctx,addrptrptr,lengthptr,write)(d1,a0,a1,d0)
  57. DMATerminate(ctx)(d1)
  58. PhysicalLocation(ctx,addrptrptr,lengthptr)(d1,a0,a1)
  59. RemapSize(ctx)(a0)
  60. WithoutMMU(func)(a5)
  61. ##end
  62.